Image - Optical Character Recognition
Common Functions
Method Name | Parameter | Return Type | Usage | Example |
---|---|---|---|---|
compareImage | imagA:String,imagB:String | boolean | To verify if two images are similar | imgOcr.compareImage(imagA, imagB); |
getDifferenceImage | actualImage:String,expectedImage:String | BufferedImage | To highlight differences between images | ImageOCRUtil imgOcr = new ImageOCRUtil(); imgOcr.getDifferenceImage(actualImage, expectedImage); |